package jdbc.main;

/**
 * Created by guo on 2017/9/13.
 */
public class User {
    private static int Id;
    private static String unname;
    private  String phone;

    public int getId(int anInt) {
        return Id;
    }
    public int getId() {
        return this.Id;
    }

    public void setId(int id) {
        this.Id = id;
    }

    public String getUnname(String unname) {
        return unname;
    }
    public String getUnname() {
        return this.unname;
    }

    public void setUnname(String unname) {
        this.unname = unname;
    }

    public String getPhone(String phone) {
        return phone;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "Id=" + Id +
                ", unname='" + unname + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public User(int id, String unname, String phone) {
        Id = id;
        this.unname = unname;
        this.phone = phone;
    }

    public User() {

    }
}
